/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const monitor = {
  path: '/monitor',
  component: Layout,
  redirect: '/monitor/analysis',
  name: 'monitor',
  meta: {
    title: '数据监控',
    icon: 'el-icon-s-order',
    roles: [
      '数据监控', '每月用量汇总', '曲线分析'
    ]
  },
  children: [
    {
      path: 'analysis',
      component: () => import('@/views/monitor/analysis'),
      name: 'Analysis',
      meta: { title: '曲线分析', noCache: true, roles: ['曲线分析'], keepAlive: true, isBack: false }
    }
  ]
}
export default monitor
